package oop1.Task;

public class BookTest {
    public static void main(String[] args) {
        Book a=new Book();
        a.name="老人与海";
        a.author="海明威";
        a.print="中信出版社";
        a.date="2010-10-08日";
        a.money=38.0;
        a.show();

        System.out.println();
        Book b=new Book();
        b.name="巴黎圣母院";
        b.author="维克多雨果";
        b.print="机械工业出版社";
        b.date="2012-11-15日";
        b.money=59.0;
        b.show();


    }
}
